<template>
	<view class="globalTop">
			<view class="title position">
				{{title}}
			</view>
	</view>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:''
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.globalTop{
	background-color: #FF82AB;
	width: 100%;
	height: 180rpx;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
}
.position{
	position: absolute;
	top: 120rpx;
	left: 50%;
	margin-left: -7%;
}
.title{
	color: #fff;
	font-size: 28rpx
}
</style>
